package com.liqi.monitor.domain.dto;

import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.liqi.deployment.domain.dto.DeploymentModuleDto;
import com.liqi.monitor.domain.dto.DvSystemInfoDto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 设备自检
 * @author fucx
 *
 */
@Data
@ApiModel(value="巡检上报信息", description="巡检上报信息")
public class SelfInspectionInfo {

    /**
     * 设备id
     */
	@NotBlank(message = "deviceId不能为空")
	@ApiModelProperty(value="中间件定义的deviceId",required = true)
    private String deviceId;
    
    /**
     * 设备编码
     */
	@ApiModelProperty(value="设备编码")
    private String deviceCode;
    
    /**
     * 设备名称
     */
	@ApiModelProperty(value="设备名称")
    private String deviceName;

    /**
     * 部署设备模块对象 的集合
     */
	@ApiModelProperty(value="模块列表",required = true)
    @NotNull(message = "moduleList不能为空")
    private List<DeploymentModuleDto> moduleList;
    
    /**
     * 巡检cpu等信息类
     */
	@ApiModelProperty(value="巡检信息列表",required = true)
	@NotNull(message = "巡检信息列systemInfo不能为空")
    private DvSystemInfoDto systemInfo;
	

}
